
package com.workcell.workdata.im.service;

import com.workcell.workdata.im.entity.Friend;
import com.workcell.workdata.im.model.request.FriendAlisaRequest;
import com.workcell.workdata.im.model.vo.UserVO;

import java.util.List;
import java.util.Map;


public interface FriendService {

    void add(Friend user);

    void setAlias(Long uid, FriendAlisaRequest request);

    List<UserVO> findList(Long uid);

    void delete(Long uid,Long fid);

    boolean isFriend(Long uid,Long fid);

    List<Long> findUidList(Long uid);

    Map<Long,String> findAliasMap(Long uid);


    boolean isCallable(long fromId ,long toId);

}
